package cn.yuanqiao.archive.uploadfile.dto;

import java.util.List;
import java.util.Map;

public class FileUploadDTO {

    private Map<Integer,String> chunkMd5Info;
    private boolean uploadComplete;
    private long mtime;
    private String path;
    private Long size;
    private String  fileExt;
    private String fileId;
    private List<Map<String,String>> fileInfos;
    private String unZipPath;

    public boolean isUploadComplete() {
        return true;
    }

    public FileUploadDTO() {
    }

    public FileUploadDTO(Map<Integer, String> chunkMd5Info, boolean uploadComplete, long mtime, String path, Long size, String fileExt, String fileId) {
        this.chunkMd5Info = chunkMd5Info;
        this.uploadComplete = uploadComplete;
        this.mtime = mtime;
        this.path = path;
        this.size = size;
        this.fileExt = fileExt;
        this.fileId = fileId;
    }

    public String getUnZipPath() {
        return unZipPath;
    }

    public void setUnZipPath(String unZipPath) {
        this.unZipPath = unZipPath;
    }

    public List<Map<String, String>> getFileInfos() {
        return fileInfos;
    }

    public void setFileInfos(List<Map<String, String>> fileInfos) {
        this.fileInfos = fileInfos;
    }

    public Map<Integer, String> getChunkMd5Info() {
        return chunkMd5Info;
    }

    public void setChunkMd5Info(Map<Integer, String> chunkMd5Info) {
        this.chunkMd5Info = chunkMd5Info;
    }

    public void setUploadComplete(boolean uploadComplete) {
        this.uploadComplete = uploadComplete;
    }

    public long getMtime() {
        return mtime;
    }

    public void setMtime(long mtime) {
        this.mtime = mtime;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public String getFileExt() {
        return fileExt;
    }

    public void setFileExt(String fileExt) {
        this.fileExt = fileExt;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }
}
